'Declaration
<ExtensionAttribute()> Public Overloads Shared Function AddAspNetCoreDiagnostics( _ ByVal builder As ILoupeAgentBuilder, _ ByVal principalFunc As Func(Of IPrincipal), _ Optional ByVal applicationUserFunc As Func(Of IPrincipal,Lazy(Of ApplicationUser),Boolean) _ ) As ILoupeAgentBuilder
[Extension()] public static ILoupeAgentBuilder AddAspNetCoreDiagnostics( ILoupeAgentBuilder builder, Func<IPrincipal> principalFunc, Func<IPrincipal,Lazy<ApplicationUser>,bool> applicationUserFunc )
Parameters
- builder
- The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.
- principalFunc
- The function to use for IPrincipal resolution
- applicationUserFunc
- Optional. The function to use for application user mapping from an IPrincipal
Return Value
The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.